package cn.lili.modules.payment.entity.dto;

import cn.lili.common.security.enums.SceneEnums;
import cn.lili.modules.payment.entity.enums.UserFmoneyServiceEnum;
import cn.lili.modules.payment.entity.enums.UserPointServiceEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 会员余额变动模型
 *
 * @author Chopper
 * @version v1.0
 * 2021-12-01 09:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserFmoneyUpdateDTO implements Serializable {


    private static final long serialVersionUID = -2535936006829829167L;
    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "变动积分")
    private Double fmoney;

    @ApiModelProperty(value = "积分业务枚举")
    private UserFmoneyServiceEnum userFmoneyServiceEnum;

    @ApiModelProperty(value = "积分业务描述")
    private String description;

    @ApiModelProperty(value = "场景")
    private SceneEnums scene = SceneEnums.MEMBER;
}
